package com.zjs.jsp.mongodbapi.service.mongodb;


import com.zjs.jsp.domain.jsp.Jsp_Order;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author 李文
 * @create 2017-08-30 9:00
 **/
public interface EdiOrderRepository extends MongoRepository<Jsp_Order, ObjectId>
{


    Jsp_Order findTop1By();


    List<Jsp_Order> findByPocIn(List<String> poc);

    List<Jsp_Order> findByMidIn(List<String> mid);

}
